﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Product.Master" ValidateRequest="false"
    Inherits="System.Web.Mvc.ViewPage<Carmall.Entity.ProductsInfo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    添加商品
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="manage_location">
        <strong><a href="#" title="网站管理中心">网站管理中心</a></strong><span class="c_m_b">-</span><strong><a
            href="/Product/Category" title="商品管理">商品管理</a></strong><span class="c_m_b">-</span>发布商品</div>
    <div class="c_box_a">
        <div class="c_box_a_title">
            <a href="#"><span class="icon_3">新增商品信息</span></a></div>
    </div>
    <div class="c_box_a_a c cp">
        <%: Html.ValidationSummary() %>
        <% using (Html.BeginForm("Create", "Product", FormMethod.Post, new { enctype = "multipart/form-data", id = "product" })) %>
        <%{ %>
        <div class="c_d_a">
            <strong>商品信息</strong>
            <div class="c_m_d">
                类别：<%= Html.DropDownListFor(m => m.Category, Carmall.Web.Helper.CatHelper.GetCategorySelect()) %>
            </div>
        </div>
        <div class="c_d_b">
            <strong>商品基本信息</strong>
            <div class="c_m_e c_p_a  c">
				<dl>
					<dt>商品属性:</dt>
					<dd>
						<div class="i">
							<div class="c_p_a_a">
								<table border="0" cellspacing="0" cellpadding="0" class="c_t_b">
									<tr>
										<th width="20%">产品名称：</th>
										<td width="20%"><input type="text" name="" class="c_i_a" /></td>
										<th width="20%">产品简称：</th>
										<td width="20%"><input type="text" name="" class="c_i_a" /></td>
									</tr>
									<tr>
										<th>货号：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
										<th>商品品牌：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
									</tr>
									<tr>
										<th>基准价格：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
										<th>数量：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
									</tr>
									<tr>
										<th>颜色：</th>
										<td>
											<select name="" id="" class="c_i_c">
												<option value="">红色</option>
												<option value="">橙色</option>
												<option value="">黄色</option>
												<option value="">绿色</option>
												<option value="">紫色</option>
												<option value="">粉色</option>
												<option value="">灰色</option>
												<option value="">黑色</option>
												<option value="">白色</option>
											</select>
										</td>
										<th>适合车型：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
									</tr>
									<tr>
										<th>规格：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
										<th>汽车厂商编号：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
									</tr>
									<tr>
										<th>汽车厂商名称：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
										<th>产地：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
									</tr>
									<tr>
										<th>索赔协议：</th>
										<td><input type="text" name="" class="c_i_a" /></td>
										<th>质保协议：</th>
										<td>
											<input type="text" name="" class="c_i_a" />
										</td>
									</tr>
									<tr>
										<th>质保期：</th>
										<td colspan="3"><input type="text" name="" class="c_i_a" /></td>
									</tr>
								</table>
							</div>
						</div>
					</dd>
				</dl>
				<dl>
					<dt>商品图片:</dt>
					<dd>
						<div class="up_pic">
							<ul class="c">
								<li>
									<img src="../../Content/images/manage/up_pic_none.gif" alt="" title=""/>
                                    <p>
                                        <span class="uploadImg">
                                            <input type="file" class="file" runat="server" size="1" /><a href="#" class="btn">上传图片</a>
                                        </span>
                                    </p>
								</li>
								<li>
									<img src="../../Content/images/manage/up_pic_none.gif" alt="" title=""/>
                                    <p>
                                        <span class="uploadImg">
                                            <input type="file" class="file" runat="server" size="1" /><a href="#" class="btn">上传图片</a>
                                        </span>
                                    </p>
								</li>
								<li>
									<img src="../../Content/images/manage/up_pic_none.gif" alt="" title=""/>
                                    <p>
                                        <span class="uploadImg">
                                            <input type="file" class="file" runat="server" size="1" /><a href="#" class="btn">上传图片</a>
                                        </span>
                                    </p>
								</li>
								<li>
									<img src="../../Content/images/manage/up_pic_none.gif" alt="" title=""/>
                                    <p>
                                        <span class="uploadImg">
                                            <input type="file" class="file" runat="server" size="1" /><a href="#" class="btn">上传图片</a>
                                        </span>
                                    </p>
								</li>
								<li>
									<img src="../../Content/images/manage/up_pic_none.gif" alt="" title=""/>
                                    <p>
                                        <span class="uploadImg">
                                            <input type="file" class="file" runat="server" size="1" /><a href="#" class="btn">上传图片</a>
                                        </span>
                                    </p>
								</li>
								<li>
									<img src="../../Content/images/manage/up_pic_none.gif" alt="" title=""/>
                                    <p>
                                        <span class="uploadImg">
                                            <input type="file" class="file" runat="server" size="1" /><a href="#" class="btn">上传图片</a>
                                        </span>
                                    </p>
								</li>
							</ul>
						</div>
					</dd>
				</dl>
				<dl>
					<dt>商品描述:</dt>
					<dd>
						<div class="c_m_d">
							<textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
						</div>
					</dd>
				</dl>
				<dl>
					<dt></dt>
					<dd>
						<div class="c_m_e">
							<a href="information.html" class="btn_a_5" title="确认">确　认</a><a href="shop_view.html" class="btn_b_5 c_m_l_a" title="预览">预　览</a>
						</div>
					</dd>
				</dl>
			</div>
        </div>
        <%} %>
    </div>
</asp:Content>
